<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/9/22 0022
 * Time: 下午 8:49
 */

namespace Admin\Controller;


class ComplaintController extends AdminController
{
    public function index()
    {
        $complaint =  M('Complaint');
        $list = $complaint->order(array('id'=>'desc'))->limit(5)->select();
        $this->assign('_list',$list);
        $this->display();
    }
}